﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Ocean.His.MedicalInsurance
{
    /// <summary>
    /// 医保交互日志
    /// </summary>
    public class InteractiveLog : Entity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 交易编号
        /// </summary>
        public string Infno { get; set; }

        /// <summary>
        /// 发送方报文ID
        /// </summary>
        public string Msgid { get; set; }

        /// <summary>
        /// 就医地医保区划
        /// </summary>
        public string MdtrtareaAdmvs { get; set; }

        /// <summary>
        /// 参保地医保区划
        /// </summary>
        public string InsuplcAdmdvs { get; set; }

        /// <summary>
        /// 接收方系统代码
        /// </summary>
        public string RecerSysCode { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public string DevNo { get; set; }

        /// <summary>
        /// 设备安全信息
        /// </summary>
        public string DevSafeInfo { get; set; }

        /// <summary>
        /// 数字签名信息
        /// </summary>
        public string Cainfo { get; set; }

        /// <summary>
        /// 签名类型
        /// </summary>
        public string Signtype { get; set; }

        /// <summary>
        /// 接口版本号
        /// </summary>
        public string Infver { get; set; }

        /// <summary>
        /// 经办人类别
        /// </summary>
        public string OpterType { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string Opter { get; set; }

        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string OpterName { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        public string InfTime { get; set; }

        /// <summary>
        /// 定点医药机构编号
        /// </summary>
        public string FixmedinsCode { get; set; }

        /// <summary>
        /// 定点医药机构名称
        /// </summary>
        public string FixmedinsName { get; set; }

        /// <summary>
        /// 交易签到流水号
        /// </summary>
        public string SignNo { get; set; }

        /// <summary>
        /// 渠道id
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 加密方式
        /// </summary>
        public string EncType { get; set; }

        /// <summary>
        /// 交易输入
        /// </summary>
        public string Input { get; set; }

        /// <summary>
        /// 电子凭证密码核验token
        /// </summary>
        public string PwEcToken { get; set; }

        /// <summary>
        /// 交易状态码
        /// </summary>
        public string Infcode { get; set; }

        /// <summary>
        /// 接收方报文ID
        /// </summary>
        public string InfRefmsgid { get; set; }

        /// <summary>
        /// 接收报文时间
        /// </summary>
        public string RefmsgTime { get; set; }

        /// <summary>
        /// 响应报文时间
        /// </summary>
        public string RespondTime { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrMsg { get; set; }

        /// <summary>
        /// 签名方式
        /// </summary>
        public string RespondSigntype { get; set; }

        /// <summary>
        /// 数字签名信息
        /// </summary>
        public string RespondCainfo { get; set; }

        /// <summary>
        /// 渠道id
        /// </summary>
        public string RespondAppId { get; set; }

        /// <summary>
        /// 加密方式
        /// </summary>
        public string RespondEncType { get; set; }

        /// <summary>
        /// 交易输出
        /// </summary>
        public string Output { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }
    }
}
